package myapp.pac1;

/**
 * @Description:
 * @Author: Hanzao
 * @Date: 2023/01/08/15:53
 */
public class Parent {
    Parent(){
        System.out.println("wucan");
    }
    Parent(String s){
        System.out.println("youcan");
    }
    private void method1(){
        System.out.println("P1");
    }
    public void method2(){
        System.out.println("P2");
        method1();
    }
}
